﻿using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.Windows;
using System.Windows.Data;
using System.ComponentModel;
namespace WPFExcelReport
{
    public partial class TVS03
    {
       
        public TVS03()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return; 
            MV = new VVESTAMM();
            this.DataContext = MV; 
            InitializeComponent();
         }
        public override void OnSave()
        {
            if (!IsSaved)
                return;
            if (dwMaster == null)
                return;
            ((VVESTAMM)MV).UpdateVESTAMM(dwMaster, app.company, 0);
            string key = KEY;
            KEY = "";
            KEY = key;
            base.OnSave();
        }
    }
}
